import java.io.*;
public class print_stair{
	public static void main(String args[]) throws IOException{
		InputStreamReader in=new InputStreamReader(System.in);
		BufferedReader bin=new BufferedReader(in);
	int i,j;

	for(i=1;i<11;i++)
	{
		for(j=1;j<=i;j++)
			System.out.print("\1\1");
	System.out.println("");
	}

	}
}